package com.ruoyi.score.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成绩对象 course
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 课程 */
    @Excel(name = "课程")
    private String coutse;

    /** 学科 */
    @Excel(name = "学科")
    private String subject;

    /** 学科课程信息 */
    private List<Score> scoreList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCoutse(String coutse) 
    {
        this.coutse = coutse;
    }

    public String getCoutse() 
    {
        return coutse;
    }

    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }

    public List<Score> getScoreList()
    {
        return scoreList;
    }

    public void setScoreList(List<Score> scoreList)
    {
        this.scoreList = scoreList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coutse", getCoutse())
            .append("subject", getSubject())
            .append("scoreList", getScoreList())
            .toString();
    }
}
